package com.ruoyi.tea.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tea.mapper.TeaCountMapper;
import com.ruoyi.tea.domain.TeaCount;
import com.ruoyi.tea.service.ITeaCountService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author hmx
 * @date 2023-06-08
 */
@Service
public class TeaCountServiceImpl implements ITeaCountService 
{
    @Autowired
    private TeaCountMapper teaCountMapper;


    @Override
    public TeaCount selectOrderCount()
    {
        return teaCountMapper.selectOrderCount();
    }

    @Override
    public TeaCount selectLeafCount()
    {
        return teaCountMapper.selectLeafCount();
    }

    @Override
    public TeaCount selectDayCount()
    {
        return teaCountMapper.selectDayCount();
    }

    @Override
    public TeaCount selectYesCount()
    {
        return teaCountMapper.selectYesCount();
    }

    @Override
    public TeaCount selectWeekCount()
    {
        return teaCountMapper.selectWeekCount();
    }

    @Override
    public TeaCount selectMonthCount()
    {
        return teaCountMapper.selectMonthCount();
    }

    @Override
    public List<TeaCount> selectTeaNum(){return teaCountMapper.selectTeaNum();}

}
